Add aria-busy to AI Song Modal import button#434
Conversation
Added the `aria-busy={isImporting}` attribute to the AI Song Modal's "Import Song" button.
This ensures screen readers receive explicit context that a background loading task is occurring, bringing the component in line with the accessibility patterns used in other import modals (e.g., RbsImportModal).
Co-authored-by: ford442 <9397845+ford442@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
The "Import Song" button within
AISongModal.tsxhandles asynchronous song parsing and importing. While it visually indicated its loading state and disabled itself appropriately, it lacked the semanticaria-busyattribute. This change standardises the UX across the repository by explicitly exposing the busy state to assistive technologies, making the application more accessible.I also added an entry to
.Jules/palette.mdnoting the standardization ofaria-busyfor background import processes.PR created automatically by Jules for task 15545524829121002300 started by @ford442